/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace DGZImp.BasProject.DomainModels
{
    [Entity(TableCnName = "标签档案明细配置",TableName = "Bas_LabelConfigDetail",DBServer = "ServiceDbContext")]
    public partial class Bas_LabelConfigDetail:ServiceEntity
    {
        /// <summary>
       ///是否有效(Y:有，N:无)
       /// </summary>
       [Display(Name ="是否有效(Y:有，N:无)")]
       [Column(TypeName="int")]
       public int? IsValid { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建用户
       /// </summary>
       [Display(Name ="创建用户")]
       [Column(TypeName="bigint")]
       public long? CreateId { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改用户
       /// </summary>
       [Display(Name ="修改用户")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="LabelConfigDetailId")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long LabelConfigDetailId { get; set; }

       /// <summary>
       ///标签配置ID
       /// </summary>
       [Display(Name ="标签配置ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long LabelId { get; set; }

       /// <summary>
       ///配置项名称
       /// </summary>
       [Display(Name ="配置项名称")]
       [MaxLength(64)]
       [Column(TypeName="nvarchar(64)")]
       [Required(AllowEmptyStrings=false)]
       public string LabelConfigDetailName { get; set; }

       /// <summary>
       ///配置项值
       /// </summary>
       [Display(Name ="配置项值")]
       [Column(TypeName="nvarchar(max)")]
       [Required(AllowEmptyStrings=false)]
       public string LabelConfigDetailValue { get; set; }

       /// <summary>
       ///配置项类型
       /// </summary>
       [Display(Name ="配置项类型")]
       [MaxLength(64)]
       [Column(TypeName="nvarchar(64)")]
       public string Type { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(512)]
       [Column(TypeName="nvarchar(512)")]
       public string Remarks { get; set; }

       /// <summary>
       ///配置项值
       /// </summary>
       [Display(Name ="配置项值")]
       [Column(TypeName="nvarchar(max)")]
       public string AllowNullValue { get; set; }

       
    }
}